/****************************************************************
 * <strong>MFActionItems</strong>
 *
 * <p>
 * MFActionItems
 * </p>
 *
 * @author AndyZhang 2011
 * @version 0.1
 * ToDo:2011-12-30
 ***************************************************************/

package com.thinkwide.data.mvc.config;

import com.thinkwide.data.debug.MFDebug;

import java.util.ArrayList;

public class MFMappingItems extends ArrayList<MFMappingItem> {
    public void printList() {
        for (MFMappingItem item : this) {
            MFDebug.print("Url:" + item.getUrl());
            MFDebug.print(" MethodName:" + item.getMethodName());
            MFDebug.println(" ClassName:" + item.getClassName());

            for (MFXParam param : item.getParams()) {
                MFDebug.print(" Value:" + param.getValue());
                MFDebug.print(" ParamName:" + param.getParamName());
                MFDebug.print(" ParamType:" + param.getParamType());
                MFDebug.print(" Required:" + param.isRequired());
                MFDebug.println("");
            }
            MFDebug.println("----- ");

        }
    }
}
